let nums  = [ 1,2,3,4,5,6,7,8,9,10];
let newArr = [];
for (let i = 0; i < nums.length; i++) {
   if( nums[i] >3 && nums[i] <7){
     newArr.push(nums[i]);
   }
}
 console.log(newArr);

let a = 5;
let b = 10;
